package com.boesch.electroOffice.model.electroOffice;

import java.io.Serializable;
import java.util.List;

import org.joda.time.LocalDate;
import org.joda.time.LocalDateTime;

/**
 * A java object for electroOffice appointment 
 * with getter and setter methods for all important data in an appointment.
 * The data for appointment objects are read from electroOffice database.
 * 
 * @author Ralph Koster
 *
 */
public class Appointment extends AbstractModel implements Serializable {

	private static final long serialVersionUID = 7184489158551921156L;

	private List<Identifier> jobIdentifiers;
	private Identifier state;
	private LocalDate registrationDate;
	private LocalDateTime appointmentDate;
	private String reportNumber;
	private String subject;
	private String phoneCustomer;
	private String description;
	private String employer;
	private long lrUserId;
	private int projectNumber;
	private int idCustomerAddress;
	private int idObjectAddress;
	private int idInvoiceAddress;

	public List<Identifier> getJobIdentifiers() {
		return jobIdentifiers;
	}

	public void setJobIdentifiers(List<Identifier> jobIdentifiers) {
		this.jobIdentifiers = jobIdentifiers;
	}

	public Identifier getState() {
		return state;
	}

	public void setState(Identifier state) {
		this.state = state;
	}

	public LocalDate getRegistrationDate() {
		return registrationDate;
	}

	public void setRegistrationDate(LocalDate registrationDate) {
		this.registrationDate = registrationDate;
	}

	public LocalDateTime getAppointmentDate() {
		return appointmentDate;
	}

	public void setAppointmentDate(LocalDateTime appointmentDate) {
		this.appointmentDate = appointmentDate;
	}

	public String getReportNumber() {
		return reportNumber;
	}

	public void setReportNumber(String reportNumber) {
		this.reportNumber = reportNumber;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getPhoneCustomer() {
		return phoneCustomer;
	}

	public void setPhoneCustomer(String phoneCustomer) {
		this.phoneCustomer = phoneCustomer;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getEmployer() {
		return employer;
	}

	public void setEmployer(String employer) {
		this.employer = employer;
	}

	public long getLrUserId() {
		return lrUserId;
	}

	public void setLrUserId(long lrUserId) {
		this.lrUserId = lrUserId;
	}

	public int getProjectNumber() {
		return projectNumber;
	}

	public void setProjectNumber(int projectNumber) {
		this.projectNumber = projectNumber;
	}

	public int getIdCustomerAddress() {
		return idCustomerAddress;
	}

	public void setIdCustomerAddress(int idCustomerAddress) {
		this.idCustomerAddress = idCustomerAddress;
	}

	public int getIdObjectAddress() {
		return idObjectAddress;
	}

	public void setIdObjectAddress(int idObjectAddress) {
		this.idObjectAddress = idObjectAddress;
	}

	public int getIdInvoiceAddress() {
		return idInvoiceAddress;
	}

	public void setIdInvoiceAddress(int idInvoiceAddress) {
		this.idInvoiceAddress = idInvoiceAddress;
	}
}
